Skip to content

Conversation

HetuKariya
Copy link
Contributor

@HetuKariya HetuKariya commented Sep 27, 2025

I created a new branch and have added the BitwiseGCD algorithm or Stein's Algorithm in the Bit manipulation folder also I have added the Test cases of the same in the file named BItwiseGCDTest.java. These test cases contain all the types of test cases from normal testcases of the range 1 - 1000 and also all the edge cases containing Long.min and Long.max thus all the testcases are covered closing #6542

  • I have read CONTRIBUTING.md.
  • This pull request is all my own work -- I have not plagiarized it.
  • All filenames are in PascalCase.
  • All functions and variable names follow Java naming conventions.
  • All new algorithms have a URL in their comments that points to Wikipedia or other similar explanations.
  • All new code is formatted with clang-format -i --style=file path/to/your/file.java

@codecov-commenter
Copy link

codecov-commenter commented Sep 27, 2025

Codecov Report

❌ Patch coverage is 80.00000% with 7 lines in your changes missing coverage. Please review.
✅ Project coverage is 75.17%. Comparing base (09cacae) to head (32bd37c).

Files with missing lines Patch % Lines
.../com/thealgorithms/bitmanipulation/BitwiseGCD.java 80.00% 3 Missing and 4 partials ⚠️
Additional details and impacted files
@@             Coverage Diff              @@
##             master    #6545      +/-   ##
============================================
+ Coverage     75.15%   75.17%   +0.01%     
- Complexity     5594     5610      +16     
============================================
  Files           688      689       +1     
  Lines         19361    19396      +35     
  Branches       3744     3753       +9     
============================================
+ Hits          14551    14581      +30     
- Misses         4245     4247       +2     
- Partials        565      568       +3     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Copy link
Member

@alxkm alxkm left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, thank you for contribution

@alxkm alxkm merged commit fb12971 into TheAlgorithms:master Sep 27, 2025
6 checks passed
@alxkm alxkm self-assigned this Sep 27, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants